package com.gedeshidai.shumadevelop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gedeshidai.shumadevelop.model.entity.User;
import com.gedeshidai.shumadevelop.model.vo.NumberListReportVO;
import com.gedeshidai.shumadevelop.model.vo.ProductPreviewVO;
import com.gedeshidai.shumadevelop.model.vo.SalesTop20ReportVO;
import com.gedeshidai.shumadevelop.model.vo.TurnoverReportVO;

import java.time.LocalDate;

public interface ReportService extends IService<User> {
    /**
     * 总销量统计
     * @param begin
     * @param end
     * @return
     */
    TurnoverReportVO getTurnoverStatistics(LocalDate begin,LocalDate end);

    /**
     * Top20
     * @param begin
     * @param end
     * @return
     */
    SalesTop20ReportVO getSalesTop20(LocalDate begin, LocalDate end);
    /**
     * 兑换方式的数量
     * @param begin
     * @param end
     * @return
     */
    NumberListReportVO getNumberList(LocalDate begin, LocalDate end);

}
